package Util;

import java.util.List;

import javafx.scene.Node;

public abstract class FindNodeHelper {
	public static Node findNodeById(String id, List<Node> nodes) {
		for (Node node : nodes) {
			if (node.getId() != null) {
				if (node.getId().equals(id)) {
					return node;
				}
			}
		}

		return null;
	}
}
